package com.ruoyi.gis.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.gis.mapper.DatasetRasterTaskNodeOutDataMapper;
import com.ruoyi.gis.domain.DatasetRasterTaskNodeOutData;
import com.ruoyi.gis.service.IDatasetRasterTaskNodeOutDataService;

/**
 * taskNodeOutputDataService业务层处理
 * 
 * @author rww
 * @date 2024-09-24
 */
@Service
public class DatasetRasterTaskNodeOutDataServiceImpl implements IDatasetRasterTaskNodeOutDataService 
{
    @Autowired
    private DatasetRasterTaskNodeOutDataMapper datasetRasterTaskNodeOutDataMapper;

    /**
     * 查询taskNodeOutputData
     * 
     * @param id taskNodeOutputData主键
     * @return taskNodeOutputData
     */
    @Override
    public DatasetRasterTaskNodeOutData selectDatasetRasterTaskNodeOutDataById(Long id)
    {
        return datasetRasterTaskNodeOutDataMapper.selectDatasetRasterTaskNodeOutDataById(id);
    }

    /**
     * 查询taskNodeOutputData列表
     * 
     * @param datasetRasterTaskNodeOutData taskNodeOutputData
     * @return taskNodeOutputData
     */
    @Override
    public List<DatasetRasterTaskNodeOutData> selectDatasetRasterTaskNodeOutDataList(DatasetRasterTaskNodeOutData datasetRasterTaskNodeOutData)
    {
        return datasetRasterTaskNodeOutDataMapper.selectDatasetRasterTaskNodeOutDataList(datasetRasterTaskNodeOutData);
    }

    /**
     * 新增taskNodeOutputData
     * 
     * @param datasetRasterTaskNodeOutData taskNodeOutputData
     * @return 结果
     */
    @Override
    public int insertDatasetRasterTaskNodeOutData(DatasetRasterTaskNodeOutData datasetRasterTaskNodeOutData)
    {
        return datasetRasterTaskNodeOutDataMapper.insertDatasetRasterTaskNodeOutData(datasetRasterTaskNodeOutData);
    }

    /**
     * 修改taskNodeOutputData
     * 
     * @param datasetRasterTaskNodeOutData taskNodeOutputData
     * @return 结果
     */
    @Override
    public int updateDatasetRasterTaskNodeOutData(DatasetRasterTaskNodeOutData datasetRasterTaskNodeOutData)
    {
        return datasetRasterTaskNodeOutDataMapper.updateDatasetRasterTaskNodeOutData(datasetRasterTaskNodeOutData);
    }

    /**
     * 批量删除taskNodeOutputData
     * 
     * @param ids 需要删除的taskNodeOutputData主键
     * @return 结果
     */
    @Override
    public int deleteDatasetRasterTaskNodeOutDataByIds(Long[] ids)
    {
        return datasetRasterTaskNodeOutDataMapper.deleteDatasetRasterTaskNodeOutDataByIds(ids);
    }

    /**
     * 删除taskNodeOutputData信息
     * 
     * @param id taskNodeOutputData主键
     * @return 结果
     */
    @Override
    public int deleteDatasetRasterTaskNodeOutDataById(Long id)
    {
        return datasetRasterTaskNodeOutDataMapper.deleteDatasetRasterTaskNodeOutDataById(id);
    }
}
